import { lazy } from "react";
import { createRoute } from "@tanstack/react-router";
import rootRoute from "@/routes/root";

const homeRoute = createRoute({
  getParentRoute: () => rootRoute,
  path: "/",
  component: lazy(() => import("@/views/home/index")),
});

export default [homeRoute];
